﻿
<!DOCTYPE html>
<html lang="zh_CN">
<head>
    <title>叩丁狼CRM(演示版)</title>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1" />
    <#include "../common/head.ftl"/>
    <link rel="stylesheet" href="/css/core.css"/>
</head>
<body>

<#assign menu="role"/>
<div class="container " style="margin-top: 20px">
    <#include "../common/welcome.ftl"/>
    <div class="row">

        <#include "../common/menu.ftl"/>
        

        <div class="col-sm-9">
            <div class="row">
                <div class="col-sm-12">
                    <h1 class="page-head-line">角色管理</h1>
                </div>
            </div>

            <form class="form-inline" id="searchForm" action="/role/list.do" method="post">
                <input type="hidden" name="currentPage" id="currentPage" value="1">
                <a href="/role/input.do" class="btn btn-success">
                    <span class="glyphicon glyphicon-plus"></span> 添加
                </a>
            </form>

            <table class="table table-striped table-hover" >
                <tr>

                    <th>序号</th>
                    <th>角色名称</th>
                    <th>角色编号</th>
                    <th>操作</th>
                </tr>
                <#list pageInfo.list as entity>
                <tr>
                    <td>${entity_index + 1}</td>
                    <td>${(entity.name)!}</td>
                    <td>${(entity.sn)!}</td>
                     <td>
                         <a href="/role/input.do?id=${(entity.id)!}" class="btn btn-info btn-xs">
                             <span class="glyphicon glyphicon-pencil"></span> 编辑
                         </a>
                         <a role="button" data-url="/role/delete.do?id=${(entity.id)!}" class="btn btn-danger btn-xs delete_btn" >
                             <span class="glyphicon glyphicon-trash"></span> 删除
                         </a>

                     </td>
                </tr>
                </#list>
            </table>

            <#include "../common/page.ftl"/>
        </div>
    </div>
</div>
<#include "../common/mycode.ftl"/>
</body>
</html>